<!-- ------------------------------------------------------------------------- -->
<!-- ------------------------------------------------------------------------- -->
<!-- ---------------------- 流调管理--密接人员管理 ---------------------------- -->
<!-- ------------------------------------------------------------------------- -->
<!-- ------------------------------编辑的tag---------------------------------- -->





<template>
    <div class="box">
      <div class="banner-box">
        <div class="crumbs-box">
          <div class="crumbs">信息登记 / 编辑密接人员</div>
        </div>
        <!-- tag -->
        <div class="tag-box">
          <div class="tag" @click="BasicInformationOfSecretConnection">基本信息</div>
          <div class="tag" @click="TightTrack">流行病学轨迹调查</div>
          <div class="tag" @click="AssociativeTightKnit">关联次密接人员信息</div>
        </div>
      </div>
      <router-view></router-view>
    </div>
  </template>
  
  <script lang="ts">
  import { defineComponent } from "vue";
  import { useRouter,useRoute } from "vue-router";
  
  
  
  
  export default defineComponent({
    name: "CloseKnitEditing ",
    setup(){
      const router = useRouter()
      const route = useRoute()
      let rowId = route.query.rowId
      // 路由跳转基本信息
      const BasicInformationOfSecretConnection = ()=>{
        router.push({path:'/CloseKnitEditing',query:{rowId}})
      }
      
      //路由跳转流行病学轨迹调查
      const TightTrack = ()=>{
        router.push({path:'/TightTrack',query:{rowId}})
      }
  
      //路由跳转关联次密接人员信息
      const AssociativeTightKnit = ()=>{
        router.push({path:'/AssociativeTightKnit',query:{rowId}})
      }
  
      return  {
        BasicInformationOfSecretConnection,
        TightTrack,
        AssociativeTightKnit,
      }
    }
  });
  </script>
  
  <style scoped>
  .crumbs {
    font-size: 15px;
    height: 60px;
    width: 100%;
  
    display: flex;
    align-items: center;
    padding-left: 10px;
  }
  .box {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #f5f5f5;
    flex-direction: column;
    align-items: center;
  }
  .banner-box {
    width: 100%;
  }
  .crumbs-box {
    width: 100%;
  }
  
  /* tag标题 */
  .tag-box {
    display: flex;
    height: 40px;
    width: 30%;
  }
  .tag {
    background-color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 0 20px 0 0;
    font-size: 15px;
  }
  .tag:hover {
    cursor: pointer;
  }
  </style>
  